// 出库管理的接口Api
import request from '@/utils/request'
/**
 * 获取出库任务数据的api
 */
export const getOutBoundTaskApi = (data) => request({
  method: 'post',
  url: '/WmsOutbountManage/QueryTask',
  data
})

/**
 * 修改出库任务数据的api
 */
export const setOutBoundTaskApi = (data) => request({
  method: 'post',
  url: '/WmsOutbountManage/UpdateTask',
  data
})

/**
 * 获取出库历史数据的api
 */
export const getOutBoundHistoryApi = (data) => request({
  method: 'post',
  url: '/WmsOutbountManage/TaskHistory',
  data
})

/**
 * 获取出库订单数据的api
 */
export const getOutBoundOrderApi = (data) => request({
  method: 'post',
  url: '/WmsOutbountManage/QueryOrder',
  data
})

/**
 * 获取出库订单历史数据的api
 */
export const getOutBoundOrderHistoryApi = (data) => request({
  method: 'post',
  url: '/WmsOutbountManage/OrderHistory',
  data
})

/**
 * 修改出库订单状态数据的api
 */
export const setOutBoundUpdateOrderApi = (data) => request({
  method: 'post',
  url: '/WmsOutbountManage/UpdateOrder',
  data
})
